(ns qwiz.views.common
  (:require [noir.session :as session]
    [noir.response :as resp])
  (:use [noir.core :only [defpartial defpage]]
    [hiccup.page-helpers :only [include-css html5]]))



(defpartial layout [& content]
  (html5
    [:head
     [:title "qwiz"]
     (include-css "/css/reset.css")]
    [:body
     [:div#wrapper
      content]]))


(defpage "/" []
  (resp/redirect "/login"))